Skip to content

Conversation

@vmladenovic
Copy link
Contributor

…l extension marketplace

Fixes #7595

@vmladenovic vmladenovic requested a review from a team as a code owner December 10, 2025 11:43
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice I like this! I think there might be some types that also need to be updated, but CI should tell us more once it runs.

I wonder if we can be more descriptive than token. Maybe authorizationHeaderToken? Or...hmm should we make it a general headers property maybe?? Then users could add whatever headers they need.



Index: code-server/lib/vscode/src/vs/platform/product/common/product.ts
Index: coder-code-server-fork/lib/vscode/src/vs/platform/product/common/product.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we revert all these path changes that rename code-server to coder-code-server-fork?

@vmladenovic
Copy link
Contributor Author

vmladenovic commented Dec 11, 2025

Nice I like this! I think there might be some types that also need to be updated, but CI should tell us more once it runs.

I wonder if we can be more descriptive than token. Maybe authorizationHeaderToken? Or...hmm should we make it a general headers property maybe?? Then users could add whatever headers they need.

I guess we could be more descriptive and use authorizationHeaderToken. My idea was to keep it really simple so I wouldn't go with the general "header" property for now if it's OK with you?

Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have this suspicion that this is one of those things that ends up being replaced by a generic solution and then we are stuck maintaining the old thing forever hahaha but this is tiny enough that it should be no problem to deprecate in the future if necessary. We have no idea if we really need a generic solution anyway, maybe this will be the only header we need.

Thanks again!

@code-asher code-asher merged commit 0de7cf5 into coder:main Dec 12, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Authorization header to be set when working with a custom extension marketplace

2 participants